//
//  YWHelper.h
//  faceTime
//
//  Created by 历成栋 on 2020/11/26.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@protocol YWHelperDelegate <NSObject>

/**yes成功,NO失败*/
-(void)readYWLoginInfoResultsIsSuccess:(BOOL)isSuccess;

@end

@interface YWHelper : NSObject

@property (nonatomic, weak, nullable) id <YWHelperDelegate>delegate;

+ (instancetype)shareInstance;/**必须单例*/

-(void)readYWLoginInfoResultsDelegate:(id<YWHelperDelegate>)delegate;/**读取登录所需的信息*/

-(void)updateLocalYWToken:(NSString *)ywToken;

@end

NS_ASSUME_NONNULL_END
